/* var m=['a','b','c','d'];
for(var i=0,n;i<m.length;i++){
	n=m.length-1-i;	
	console.log(m[i],m[n])
} */
/* var a = [23, 9, 45, 6, 78];
  a.sort(function(m, n) {
	return m - n
});
console.log(b); */
/* var a=[23,9,45,6,78];
for(var n=0;n<a.length-1;n++){
for(var i=0,m=[];i<a.length-1-n;i++){
	if(a[i]>a[i+1]){
		m=a[i];
		a[i]=a[i+1];
		a[i+1]=m
	}
	}	
}
console.log(a) */
